<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .items{
            width: 700px;
            height: 300px;
            background-color: aqua;
            display: flex;
            /* justify-content: space-between;
            flex-wrap: wrap; */
        }
        .item {
            /* margin: auto; */

            width: 200px;
            box-sizing: border-box;
            height: 200px;
            background-color: salmon;
            border: 1px solid #ccc;
        }
        .item-main{
            flex:1;
        }
        .cur{
            margin-left: auto;
        }
    </style>
</head>
<body>
    <h1>常见布局</h1>
    <div class="items">
        <div class="item">1</div>
        <div class="item item-main">2</div>
        <!-- <div class="item  cur">3</div> -->
        <!-- <div class="item">4</div> -->
        <!-- <div class="item">5</div>
        <div class="item">6</div>
        <div class="item">7</div>
        <div class="item">8</div> -->
    </div>
</body>
</html>